import { Link, Outlet } from 'react-router-dom'
const Home = () => {
  return (
    <>
      <h1>Home页面</h1>
      <Link to="/home/test1">test1</Link> <br />
      <Link to="/home/test2">test2</Link>
      {/* Outlet组件决定了嵌套路由组件渲染的位置 */}
      <Outlet></Outlet>
    </>
  )
}

export default Home
